Text: add missing nullability annotations
authorBilal Elmoussaoui <bil.elmoussaoui@gmail.com>
Tue, 24 Nov 2020 17:15:38 +0000 (18:15 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 2 Dec 2020 15:28:07 +0000 (10:28 -0500)
gtk/gtktext.c

index 83ea98cf3a5625cf6732f1475d0d36943360149a..8452344f60e61ab35f3bc6b1ad7fd455a8fa9b65 100644 (file)
@@ -6564,7 +6564,7 @@ gtk_text_set_placeholder_text (GtkText    *self,
  *
  * Retrieves the text that will be displayed when @self is empty and unfocused
  *
- * Returns: (nullable) (transfer none):a pointer to the placeholder text as a string.
+ * Returns: (nullable) (transfer none): a pointer to the placeholder text as a string.
  *   This string points to internally allocated storage in the widget and must
  *   not be freed, modified or stored. If no placeholder text has been set,
  *   %NULL will be returned.
@@ -6866,7 +6866,7 @@ gtk_text_set_extra_menu (GtkText    *self,
  *
  * Gets the menu model set with gtk_text_set_extra_menu().
  *
- * Returns: (transfer none): (nullable): the menu model
+ * Returns: (transfer none) (nullable): the menu model
  */
 GMenuModel *
 gtk_text_get_extra_menu (GtkText *self)